package cn.edu.bupt.scidata.service;

import cn.edu.bupt.scidata.model.paper.Paper;
import cn.edu.bupt.scidata.model.project.ElasticSearchProject;
import com.github.pagehelper.PageInfo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface PaperService {

    List<Integer> queryPaperIds(int keyid);
    List<Paper> querypaper(List<Integer> paperIds);
    List<Paper> querypaperpage(List<Integer> paperIds,int pageNum,int pageSize);
    PageInfo<Paper> querypaperpagef(List<Integer> paperIds,int pageNum,int pageSize);
    public List<ElasticSearchProject> search(int size, int page, String keyword);
    public Map<String,Object> subquery11(String clfname1, String key, Integer pageno, Integer pagesize, String order, String lang) throws IOException;

}
